package com.lds.sign_sdk.annotation;


import com.lds.sign_sdk.desensitizer.DefaultDesensitizer;
import com.lds.sign_sdk.desensitizer.IDesensitizer;

import java.lang.annotation.*;

/**
 * @Date 2022/7/29
 * @Time 15:51
 * @Author liudongs
 * @E-mail liudongs@aliyun.com
 * @Version 1.0.0
 * @Description
 **/

@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE})
public @interface FieldDesensitize {
    String fillValue() default "*";

    Class<? extends IDesensitizer> desensitizer() default DefaultDesensitizer.class;
}

